import http from '../index'
//查询我的关注/预约/参拍
export const getList = (data) => http({
    url: '/api2/personalCenter/selectByZt?'+ data,
    method: 'post',
})

//取消我的关注/预约/参拍
export const delList = (data) => http({
    url: '/api2/personalCenter/deleteMineById?'+ data,
    method: 'delete',
})

//查询我的发票信息
export const getInvoice = () => http({
    url: '/api2/invoice/select',
    method: 'post',
})

//查询我的消息
export const getMessage = (data) => http({
    url: '/api2/personalCenter/selectMessage?'+ data,
    method: 'post',
})

//删除我的消息
export const delMessage = (data) => http({
    url: '/api2/personalCenter/deleteMessage?'+ data,
    method: 'delete',
})

//新增发票信息
export const addInvoice = (data) => http({
    url: '/api2/invoice/add',
    method: 'post',
    data
})

//修改发票信息
export const editInvoice = (data) => http({
    url: '/api2/invoice/update',
    method: 'put',
    data
})

//删除发票信息
export const delInvoice = (data) => http({
    url: '/api2/invoice/delete?' + data,
    method: 'delete',
})
